package com.prs.crm.service.cdxh;

import java.util.Date;
import java.util.List;

import com.prs.crm.domain.cdxh.molding.Molding;
import com.prs.crm.domain.cdxh.molding.MoldingTeam;
import com.prs.crm.service.BaseService;

/**
 * @author LanXiaoGang
 * @E-mail:lan9liang@163.com
 * @qq:7857553326
 * @version 创建时间：2010-12-8 下午03:48:06 简单说明
 */

public interface MoldingTeamService extends BaseService<MoldingTeam> {
	/**
	 * 成型单的保存
	 */
	void saveAllMoldingTeam(MoldingTeam moldingTeam, String[] moldingCodes,
			Integer[] orderNums, String[] moldingOrderPlans,
			String[] shaproduct_name, String[] shasize, String[] shacolor,
			String[] shaspeed, String[] shatemperature_A,
			Integer[] shaorder_num, Integer[] shayudingNums,
			Integer[] shareality_num, String[] shayaoqiuSxs,
			String[] shacustomer, Double[] shaxuyongliaoNums,
			String[] shafei_num, Double[] shashijiLinNums, String[] sharemark,
			String[] shatemperature_B, Integer[] shayeshengchanNums,
			String[] shahuan_num, String[] shatemperature_C, Date[] tihuoDates,
			String[] rushOrders);
	/**
	 * 成型单打印的保存
	 */
	void saveAllMoldingTeamPrint(MoldingTeam moldingTeam, String[] moldingCodes,
			Integer[] orderNums, String[] moldingOrderPlans,
			String[] shaproduct_name, String[] shasize, String[] shacolor,
			String[] shaspeed, String[] shatemperature_A,
			Integer[] shaorder_num, Integer[] shayudingNums,
			Integer[] shareality_num, String[] shayaoqiuSxs,
			String[] shacustomer, Double[] shaxuyongliaoNums,
			String[] shafei_num, Double[] shashijiLinNums, String[] sharemark,
			String[] shatemperature_B, Integer[] shayeshengchanNums,
			String[] shahuan_num, String[] shatemperature_C, Date[] tihuoDates,
			String[] rushOrders);
	
	/**
	 * 根据产品号，和订单编号查找
	 * @param productCode
	 * @param orderplan
	 * @return
	 */
	MoldingTeam  getMoldingTeam(String productCode,String orderplan);
	
	/**
	 * 修改原有的对象
	 */
  void saveOrMoldingTeam(MoldingTeam  moldingTeam);
  
  /**
	 * 根据编号查找
	 */
	List<MoldingTeam>  getMoldingTeamOrderpLan(String orderplan);

}
